﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;
using System.IO;
using System.IO.Compression;
using System.IO.IsolatedStorage;
using System.IO.Ports;


namespace Philadapt
{
    public class EncondeDecode
    {
        /** Method to convert a string to a ByteArrayInputStream
        * @param toConvert The string to convert
        * @return A ByteArrayInputStream representing the string
        */
  /*      public static BufferedStream encode(String toConvert)
        {
            return new BufferedStream(toConvert.getBytes());
        }

        /** Method to convert a ByteArrayOutputStream to a string
         * @param toConvert A ByteArrayOutputStream to convert to string
         * @return String decoded from the ByteArrayOutputStream
         */
  /*      public static String decodeString(BufferedStream toConvert)
        {
            return toConvert.toString();
        }
    */    
    }
}
